import socket

cc=socket.socket()
cc.connect(('127.0.0.1',3000))
print("收到"+cc.recv(1024).decode('utf-8'))
cc.close()